<template>
  <u-card :show-head="false" :show-foot="false" margin="10rpx 0rpx">
    <view slot="body">
      <slot name="body" :prop="option.prop" :color="option.color"></slot>
      <view>{{ option.label }}</view>
    </view>
  </u-card>
</template>
<script lang="ts" setup>
import { toRefs } from 'vue';

const props = defineProps<{
  option: any;
}>();

const { option } = toRefs(props);
</script>
<style lang="scss" scoped></style>
